<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/control/taglib.jsp"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
request.setAttribute("ctx",basePath);
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<script type="text/javascript" src="../control/js/My97DatePicker/WdatePicker.js"></script>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'masterForm.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="/admin/css/comm.css">
  	</head>
  
  <body>
   <form action="/groupmanager!add.shtml" method="post"  >
    <table style="width: 100%"  id="mytable" cellspacing="0">
    	<tr>
    	    <s:if test="entity.groupid !=null"><th scope="col" align="left" colspan="4"><h5>修改角色组</h5></th></s:if>
    	    <s:else><th scope="col" align="left" colspan="4"><h5>新增角色组</h5></th></s:else>
		</tr>
		<tr>
			<td width="10%"></td>
			<td width="30%"></td>
			<td width="10%"></td>
			<td width="30%"></td>
		</tr>
		
		<input type="hidden" name="entity.groupid" value="<s:property value='entity.groupid'/>">
		<tr>
			<td scope="col" align="right">角色名称</td>
			<td class="row">
				<input type="text" id="groupname" name="entity.groupname" value="<s:property value='entity.groupname'/>"/>
			</td>
			<td scope="col" align="right">角色描述</td>
			<td class="row">
				<input type="text" id="groupinfo" name="entity.groupinfo"value="<s:property value='entity.groupinfo'/>"/>
			</td>
		</tr>
		<tr>
			<td colspan="4" align="center">
				<input type="submit" value="提  交">
				<input type="button" onclick="javascript:window.history.go(-1);" value="返  回">
			</td>
		</tr>
	</table>
</form>
  </body>
</html>
